home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / giochi in rete / sorgenti_amislate / remote.h < prev    next >
C/C++ Source or Header  |  1995-07-30  |  1KB  |  36 lines

  1. /* remote.h -- analogous drawing functions for the remote entity */
  2. #ifndef REMOTE_H
  3. #define REMOTE_H
  4.  
  5. /* Codes for Wprint and Wread --direct where to read/write to/from */
  6. #define DEST_FILE 0x0001
  7. #define DEST_PEER 0x0002
  8. #define FROM_FILE 0x0004
  9. #define FROM_PEER 0x0008
  10.  
  11. BOOL Synch(void);
  12. BOOL RemoteHandler(FILE *fpFile, BOOL BEchoToRemote);
  13. BOOL FillArgs(UWORD uwNext, int nLastArg);
  14. BOOL CheckStandardEscapes(UWORD uwNext);
  15.  
  16. BOOL OutputAction(UBYTE bFromCode, UWORD uwModeID, UWORD arg1, UWORD arg2, UWORD arg3, UWORD arg4, LONG DestCode);
  17. BOOL Remote_Pen(int nX, int nY);
  18. BOOL Remote_Dot(int nX, int nY);
  19. BOOL Remote_Line(int X1, int Y1, int X2, int Y2);
  20. BOOL Remote_Circle(int X, int Y, int RX, int RY);
  21. BOOL Remote_Square(int X1, int Y1, int X2, int Y2);
  22. BOOL Remote_Poly(void);
  23. BOOL Remote_Flood(int X1, int Y1, UWORD uwExpectedFilledColor);
  24.  
  25. VOID ReceivedQuitStuff(void);
  26. VOID ResetArgCount(void);
  27. VOID Wprint(UWORD uwWord, LONG DestCode);
  28. VOID SendPalette(void);
  29. VOID RemoteEasyReq(void);
  30. VOID RemoteStringReq(void);
  31. VOID RemoteRexxCommand(void);
  32.  
  33. UWORD Wread(FILE *fpFile, LONG FromCode);
  34.  
  35. #endif
  36.